/******************************************************************************
 * Copyright (C) 2024 EternalChip, Inc.(Gmbh) or its affiliates.
 * 
 * All Rights Reserved.
 * 
 * @file sample.h
 * 
 * @par dependencies 
 * 
 * 
 * 
 * @author Jack | R&D Dept. | EternalChip 立芯嵌入式
 * 
 * @brief Provide the APIs of Sampling data.
 * 
 * Processing flow:
 * 
 * call directly.
 * 
 * @version V1.0 2025-2-05
 *
 * @note 1 tab == 2 spaces!
 * 
 *****************************************************************************/

#ifndef __SAMPLE_H
#define __SAMPLE_H

#include "main.h"
#include "FreeRTOS.h"
#include "task.h"

//******************************** Defines **********************************//
#define Sample_ADC_Callback   void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc)


//******************************** Extern Variables **************************************//
extern TaskHandle_t g_sample_task_handle;
extern TaskHandle_t g_sample_parse_task_handle;
//******************************** END Extern Variables **********************************//

//******************************** Extern Functions **************************************//
extern void Sample_Task(void *argument);
extern void Sample_Parse_Task(void *argument);
//******************************** END Extern Functions **********************************//

#endif // !__SAMPLE_H



